Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single shards APIs should fail if routing is required. #4506

Closed
martijnvg opened this issue Dec 18, 2013 · 0 comments
Closed

Single shards APIs should fail if routing is required. #4506

martijnvg opened this issue Dec 18, 2013 · 0 comments

Comments

@martijnvg
Copy link
Member

If routing for a specific type is configured to be required, but no routing is specified during a single shard api call a client error should be thrown. The following APIs need this validation: get, mget, explain, termvector, multi term vector and exists.

Note: this validation already happens in the index and delete APIs, but the error will change to a client error instead of the internal server error.

@ghost ghost assigned martijnvg Dec 18, 2013
martijnvg added a commit to martijnvg/elasticsearch that referenced this issue Dec 19, 2013
…in the mapping.

This change make single shard requests fail when no routing is specified and routing has been configured to be required in the mapping. This change affects the following APIs: get, mget, explain, termvector, multi term vector and exists.

Closes elastic#4506
brusic pushed a commit to brusic/elasticsearch that referenced this issue Jan 19, 2014
…in the mapping.

 This change make single shard requests fail when no routing is specified and routing has been configured to be required in the mapping. Thi

 Closes elastic#4506
brusic pushed a commit to brusic/elasticsearch that referenced this issue Jan 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant